package com.stack.admin.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.stack.model.admin.dtos.AdChannelDto;
import com.stack.model.admin.dtos.AdSensitiveDto;
import com.stack.model.admin.dtos.PageQueryDto;
import com.stack.model.admin.pojos.AdChannel;
import com.stack.model.admin.pojos.AdSensitive;
import com.stack.model.common.dtos.ResponseResult;

/**
 * @author llz
 * @date 2023/11/14 20:53
 * @description
 */
public interface AdChannelService extends IService<AdChannel> {


    /**
     * 查询频道列表
     * @return
     */
    ResponseResult getChannelList(PageQueryDto pageQueryDto);

    /**
     * 新增频道
     * @param dto
     * @return
     */
    ResponseResult saveChannel(AdChannelDto dto);

    /**
     * 修改频道
     * @param dto
     * @return
     */
    ResponseResult updateChannel(AdChannelDto dto);

    /**
     * 删除频道
     * @param id
     * @return
     */
    ResponseResult deleteChannel(Integer id);
}
